home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus Special 24 / AMIGAplus Sonderheft 24 (2000)(Falke)(DE)[!].iso / Updates / Librarys / G5Library / GatewayBase / GatewayBase.c next >
C/C++ Source or Header  |  1999-11-29  |  326b  |  18 lines

  1. #include <exec/libraries.h>
  2. #include <proto/exec.h>
  3.  
  4. struct Library *GatewayBase = NULL;
  5. extern unsigned long _GatewayBaseVer;
  6.  
  7. void _INIT_5_GatewayBase()
  8. {
  9.   if (!(GatewayBase = OpenLibrary("Gateway.library",_GatewayBaseVer)))
  10.     exit(20);
  11. }
  12.  
  13. void _EXIT_5_GatewayBase()
  14. {
  15.   if (GatewayBase)
  16.     CloseLibrary(GatewayBase);
  17. }
  18.